package com.to8to.kitt.asyc;

public class State {

	private int seqid;
	
	private IMsgHandler handler;
	
	private Object data;
	
	private long time = System.currentTimeMillis();
	
	public State()
	{
		
	}
	
	public State(int seqid, IMsgHandler handler, Object data)
	{
		this.seqid = seqid;
		this.handler = handler;
		this.data = data;
	}
	
	public State(int seqid, IMsgHandler handler, Object data, long time)
	{
		this.seqid = seqid;
		this.handler = handler;
		this.data = data;
		this.time = time;
	}

	public int getSeqid() {
		return seqid;
	}

	public void setSeqid(int seqid) {
		this.seqid = seqid;
	}

	public IMsgHandler getHandler() {
		return handler;
	}

	public void setHandler(IMsgHandler handler) {
		this.handler = handler;
	}

	public Object getData() {
		return data;
	}

	public void setData(Object data) {
		this.data = data;
	}

	public long getTime() {
		return time;
	}

	public void setTime(long time) {
		this.time = time;
	}
	
	
}
